package com.magima.utils;

import android.content.Context;
import android.os.Environment;

public class Constants {
	public static String CACHE_DIR;
	public static final String PUBLIC_DOWNLOAD_DIR = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getPath();
	public static String IMAGE_CACHE_DIR;
	public static String FILE_CACHE_DIR;
	public static String VOICE_CACHE_DIR;
	public static String RECENT_CHAT_CACHE_DIR;
	
	public static void initDirName(Context context){
		CACHE_DIR = Environment.getExternalStorageDirectory().getPath() + "/"+context.getPackageName()+"/";
		IMAGE_CACHE_DIR = CACHE_DIR + "images/";
		FILE_CACHE_DIR = CACHE_DIR + "files/";
		VOICE_CACHE_DIR = CACHE_DIR + "voices/";
		RECENT_CHAT_CACHE_DIR = CACHE_DIR + "chats/";
	}
	
	public static final int MENU_COPY = 1001;
}
